package com.jiankang.dao;


import java.util.List;


import com.jiankang.entity.User;
import com.jiankang.util.Page;

public interface UserDao {
	public User login(User user);
	public User register(String regphone) ;
	public int save(User user);
	public List<User> getAllUser();
	public int update(User user);

	//第二种
	public long getAllUserCount();
	//
	public List<User> getUsers(Page page);
	public void deleteById(int id);
	
	
	
	
	public List<User> ligetBypidlist(int id);
}
